projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb998d
)
Protect inclusion of unistd.h
author
Hans Breuer
<hans@breuer.org>
Sun, 2 Jan 2011 12:29:23 +0000
(13:29 +0100)
committer
Hans Breuer
<hans@breuer.org>
Sun, 2 Jan 2011 12:29:23 +0000
(13:29 +0100)
gtk/gtkapplication.c
patch
|
blob
|
history
diff --git
a/gtk/gtkapplication.c
b/gtk/gtkapplication.c
index 59c081bea1ba3b22968362c743fffdf7fbdc9377..90d4adfca881751d948fad3d8b557fc1435b3b1a 100644
(file)
--- a/
gtk/gtkapplication.c
+++ b/
gtk/gtkapplication.c
@@
-22,7
+22,9
@@
#include "config.h"
#include <stdlib.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <string.h>
#include "gtkapplication.h"